﻿

#include <iostream>
#include "utility"
#include "UniquePtr.h"
class Test {
public:
    std::string name;
};
int main()
{
    

    xxx::UniquePtr<Test> obj(new Test());//调用有参构造函数
    xxx::UniquePtr<Test> obj_1;

    obj->name="jack";
    std::cout << obj->name << std::endl;
    std::cout << "Hello World!\n";
}

